import styles from './index.less';
import fsAUo from '@/assets/fsAUo.png'
import { Button } from 'antd';
import actions from '@/shared/actions';

export default function IndexPage() {

  const fns = () => {
    actions.setGlobalState({
      activePath: window.location.hash.split('#')[1]
    });
  }

  return (
    <div>
      <img src={fsAUo}></img>
      <h1 className={styles.title}>微应用-1-umi 页面 1 √</h1>
      <Button onClick={fns}>离开当前页面</Button>
    </div>
  );
}
